function Status(id, parentDivId){
	this.count = 0;
	this.id = id;
	this.tweet;
	this.timeline = '<div id="' + id + '"></div>';
	this._initilaize(parentDivId);
}

Status.prototype = {
	_initilaize : function(parentDivId){
		$('#' + parentDivId).append('<div id="' + this.id + '"></div>');
	},
	set : function(status){
		$("#" + this.id).empty();
		if(status.retweeted_status != undefined){
			var unit = this._createReTweetUnit(status.retweeted_status, status);
		}else{
			var unit = this._createTweetUnit(status);
		}
		$("#" + this.id).append(unit);
	},
	_createReTweetUnit : function(rt, tweet){
		var list = '';
		list += '<div status-id="' + rt.id_str +'" class="tweet_unit" data-theme="a" data-content-theme="a">';
		list += '<img user-id="' + rt.user.id + '"src="' + rt.user.profile_image_url + '">';
			list += '<div class="right_tweet_area">';
			list += '<div class="username">' + rt.user.name + '</div>';
			list += '<div class="screenname">' + rt.user.screen_name + '</div>';
			list += '<div class="address">' + rt.user.location + '</div>';
			list += '<div class="buttom_line">';
			list += '<div class="tweet">' + replaceLinkEx(rt.text) + '</div>';
		list += '</div>';
		list += '<div style="clear:both;"></div>';
		list += '</div>';
		return unit;
	},
	_createTweetUnit : function(tweet){
		var unit = '';
		unit += '<div timeline-id="' + tweet.id_str + '" class="tweet_unit" data-theme="a" data-content-theme="a">';
		unit += '<img user-id="' + tweet.user.id +  '" src="' + tweet.user.profile_image_url + '">';
			unit += '<div class="right_tweet_area">';
				unit += '<div class="username">' + tweet.user.screen_name + '</div>';
				unit += '<div class="user_real_name">' + tweet.user.name + '</div>';
				unit += '<div class="tweet">' + replaceLink(tweet.text) + '</div>';
				unit += '<div class="buttom_line">';
					unit += '<div class="address">' + tweet.source + '</div>';
				if(false && gUser.User.id != tweet.user.id){
					unit += tweet.favorited == false ? '<a href="#" class="fav">お気に入りへ追加</a>' : '<a href="#" class="unfav">お気に入りから削除</a>';
					unit += gUser.rtIds[tweet.id_str] == undefined ? '<a href="#" class="rt">リツイート</a>' : '<a href="#" class="unrt">リツイートの解除</a>';
				}
					unit += '<div class="created_at">' + date(tweet.created_at) + '</div>';
				unit += '</div>';
				unit += '<div style="clear:both;"></div>';
			unit += '</div>';
		unit += '</div>';
		return unit;
	}
}